package misc;

public class TestEquals {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String s1="fork";
		String s2=new String("fork");
		int a1=35;
		Integer a2=new Integer("35");
		System.out.println("s1==s2: " +(s1==s2));
	   System.out.println("s1.equals(s2): "+s1.equals(s2));
	   System.out.println("a1==a2: "+(a1==a2));
	   System.out.println("a2.equals(a1): "+a2.equals(a1));
	}
}
